package 创建型设计模式.工厂模式.抽象工厂模式.demo;

/**
 * @Author lf
 * @Date 3/26/2024
 */
public class ElectricVehicleFactory implements VehicleFactory{
    @Override
    public Car createCar() {
        return new ElectricCar();
    }

    @Override
    public Bike createBike() {
        return new ElectricBike();
    }
}
